<include file="Public/head" />

<body class="no-skin">
    <include file="Public/header" />
    <div class="main-container" id="main-container">
        <script type="text/javascript">
        try {
            ace.settings.check('main-container', 'fixed')
        } catch (e) {}
        </script>
        <include file="Public/sidebar" />
        <div class="main-content">
            <div class="main-content-inner">
                <!-- #section:basics/content.breadcrumbs -->
                <include file="Public/breadcrumbs" />
                <!-- /section:basics/content.breadcrumbs -->
                <div class="page-content">
                    <include file="Public/set" />
                    <!-- /section:settings.box -->
                    <div class="row">
                        <div class="col-xs-12">
                            <!-- PAGE CONTENT BEGINS -->
                            <!-- 统计 BEGINS-->
                            <div class="state-overview clearfix">
                                <div class="col-lg-3 col-sm-6">
                                    <section class="panel">
                                        <a href="#" title="会员">
                                            <div class="symbol terques">
                                                <i class="ace-icon fa glyphicon-user"></i>
                                            </div>
                                            <div class="value">
                                                <h1>{$info.userNumToday}</h1>
                                                <p>今日新增用户</p>
                                            </div>
                                        </a>
                                    </section>
                                </div>
                                <div class="col-lg-3 col-sm-6">
                                    <section class="panel">
                                        <div class="symbol red">
                                            <i class="ace-icon fa glyphicon-tags"></i>
                                        </div>
                                        <div class="value">
                                            <h1>{$info.userTotal}</h1>
                                            <p>粉丝总数</p>
                                        </div>
                                    </section>
                                </div>
                                <div class="col-lg-3 col-sm-6">
                                    <section class="panel">
                                        <div class="symbol yellow">
                                            <i class="ace-icon fa fa-shopping-cart"></i>
                                        </div>
                                        <div class="value">
                                            <h1>{$info.signTotal}</h1>
                                            <p>会员活跃度</p>
                                        </div>
                                    </section>
                                </div>
                                <div class="col-lg-3 col-sm-6">
                                    <section class="panel">
                                        <div class="symbol blue">
                                            <i class="ace-icon fa fa-bar-chart-o"></i>
                                        </div>
                                        <div class="value">
                                            <h1>￥{$info['cardConsume']}</h1>
                                            <p>卡券消费</p>
                                        </div>
                                    </section>
                                </div>
                            </div>
                            <!-- 统计 ENDS-->
                            <div class='row'>
                                <div class="col-xs-6">
                                    <table class="table table-striped table-bordered">
                                        <thead>
                                            <tr>
                                                <th class="center">#</th>
                                                <th>用户</th>
                                                <th>时间</th>
                                                <th>IP</th>
                                                <th class="col-xs-7">日志内容</th>
                                            </tr>
                                        </thead>
                                        <tbody>
                                            <volist name="list" id="val">
                                                <tr>
                                                    <td>{$val['id']}</td>
                                                    <td>{$val['name']}</td>
                                                    <td>{$val['t']|date="Y-m-d H:i:s",###}</td>
                                                    <td>{$val['ip']}</td>
                                                    <td>{$val['log']}</td>
                                                </tr>
                                            </volist>
                                        </tbody>
                                    </table>
                                    {$page}
                                </div>
                            </div>
                            <!-- PAGE CONTENT ENDS -->
                        </div>
                        <!-- /.col -->
                    </div>
                    <!-- /.row -->
                </div>
                <!-- /.page-content -->
            </div>
        </div>
        <!-- /.main-content -->
        <include file="Public/footer" />
    </div>
    <!-- /.main-container -->
    <include file="Public/footerjs" />
    <!-- inline scripts related to this page -->
    <script type="text/javascript">
    $(function() {})
    </script>
</body>

</html>